
<h1>添加教师名额</h1>

<% form_for(@quantities) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :tea_id, "姓名：" %><br />
    <%= f.text_field :tea_id %>
  </p>
  <p>
    <%= f.label :, "密码：" %><br />
    <%= f.text_field :spassword %>
  </p>
  <p>
    <%= f.label :stype, "类型：" %><br />
    <%= f.text_field :stype %>
  </p>
  <p>
    <%= f.label :sresume, "简介：" %><br />
    <%= f.text_area :sresume %>
  </p>
  <p>
    <%= f.submit "提交" %>
    &nbsp;<%= link_to '返回', students_path %>
  </p>
<% end %>
